Home
last modified time | relevance | path

Searched hist:f30b002ccfee8c60c8feb590e145c0b5e8fa4c67 (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dmemblock.cdiff f30b002ccfee8c60c8feb590e145c0b5e8fa4c67 Thu Feb 17 15:07:54 CET 2022 Miaohe Lin <linmiaohe@huawei.com> memblock: __next_mem_pfn_range_in_zone: remove unneeded local variable nid

The nid is only used to act as output parameter of __next_mem_range.
Since NULL can be passed to __next_mem_range as out_nid, we can thus
remove nid by passing NULL here.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
[rppt: updated the commit message]
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>